package br.com.poc.pitagorasnumero.util;

/**
 * The Class StringUtil.
 * 
 * @author irlan.gomes
 */
public final class StringUtil {

	/**
	 * Private empty constructor.
	 */
	private StringUtil() {
	}

	/**
	 * Check if the String not is empty.
	 * 
	 * @param string
	 *            the string
	 * @return true, if successful
	 */
	public static boolean notEmpty(final String string) {
		return string != null && !string.trim().isEmpty();
	}

}
